core: Really fix saving variants with REPLACE_DESTINATION
authorColin Walters <walters@verbum.org>
Mon, 14 May 2012 16:26:15 +0000 (12:26 -0400)
committerColin Walters <walters@verbum.org>
Tue, 15 May 2012 00:49:00 +0000 (20:49 -0400)
src/libotutil/ot-variant-utils.c

index 513776ef32a2ee6f8061c67b90bf3f2f5630017d..9e50ace63661bcc331b4054902d6e36be2004a7f 100644 (file)
@@ -69,7 +69,7 @@ ot_util_variant_save (GFile *dest,
   ot_lobj GOutputStream *out = NULL;
   gsize bytes_written;
   
-  out = (GOutputStream*)g_file_replace (dest, NULL, G_FILE_CREATE_REPLACE_DESTINATION, FALSE,
+  out = (GOutputStream*)g_file_replace (dest, NULL, FALSE, G_FILE_CREATE_REPLACE_DESTINATION,
                                         cancellable, error);
   if (!out)
     goto out;